package org.dromara.datacheck.domain.vo.jd;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.datacheck.domain.jd.JdOtherOutWarehouseOrder;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 金蝶-其他出库单视图对象 jd_other_out_warehouse_order
 *
 * @author 刘武贵
 * @date 2024-09-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = JdOtherOutWarehouseOrder.class)
public class JdOtherOutWarehouseOrderVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 库存方向
     */
    @ExcelProperty(value = "库存方向")
    private String inventoryDirection;

    /**
     * 单据状态（0 重新审核，1 暂存，2 已审核， 3 审核中，4 新建）
     */
    @ExcelProperty(value = "单据状态")
//    @ExcelDictFormat(readConverterExp = "0=,重=新审核，1,暂=存，2,已=审核，,3=,审=核中，4,新=建")
    private String jdOtherOutWarehouseOrderStatus;

    /**
     * 单据编号
     */
    @ExcelProperty(value = "单据编号")
    private String jdOtherOutWarehouseOrderNumber;

    /**
     * 客户
     */
    @ExcelProperty(value = "客户")
    private String jdOtherOutWarehouseOrderCustomer;

    /**
     * 物料编码
     */
    @ExcelProperty(value = "物料编码")
    private String materialCode;

    /**
     * 物料名称
     */
    @ExcelProperty(value = "物料名称")
    private String materialName;

    /**
     * 单位名称
     */
    @ExcelProperty(value = "单位名称")
    private String unitName;

    /**
     * 发货仓库
     */
    @ExcelProperty(value = "发货仓库")
    private String deliverGoodsWarehouse;

    /**
     * 单据日期（用于搜索）
     */
    @ExcelProperty(value = "日期")
    private Date newOrderDate;

    /**
     * 实发数量
     */
    @ExcelProperty(value = "实发数量")
    private Integer actualDeliveryNumber;
    /**
     * 单据日期（用于业务）
     */
    @ExcelProperty(value = "单据日期")
    private String orderDate;


}
